﻿@model ETL.Web.Models.LoginModel
@{
    ViewBag.Title = "Login to Remote Engineer Timelog system";
}
<section id="loginForm">

@using (Html.BeginForm(null, null, new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal" }))
{
    <fieldset>
        
             <div class="row-fluid">
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true, null, new { @class = "text-error" })
            </div>
            <div class="row-fluid">  
                    <div class="span5">                  
                        @Html.LabelFor(m => m.UserName, new { @class = "lead" })
                        </div>
                    <div class="span7">
                        @Html.TextBoxFor(m => m.UserName)
                        @*@Html.ValidationMessageFor(m => m.UserName,null, new { @class = "text-error" })*@
                    </div>
                </div>
             <div class="row-fluid">
                <div class="span5"> 
                    @Html.LabelFor(m => m.Password, new { @class = "lead" })
                    </div>
                    <div class="span7">
                    @Html.PasswordFor(m => m.Password, new { required = true })
                    @*@Html.ValidationMessageFor(m => m.Password, null, new { @class = "text-error" })*@
                    </div>
                </div>
             <div class="row-fluid">
                <div class="span5"> 
                    </div>
                    <div class="span7">
                    <label class="checkbox">
                   @Html.CheckBoxFor(m => m.RememberMe)
 					                @Html.LabelFor(m => m.RememberMe)
                     </label>
                    </div>
                </div>
            
            
           
        <input type="submit" class="btn" value="Log in" />
    </fieldset>
    <p>
        @Html.ActionLink("Register", "Register") if you don't have an account.
    </p>
}
</section>
